package org.example.domain;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName take_sell
 */

@Data
public class Sell implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    /**
     * 持仓id
     */
    private Integer positionId;
    /**
     * 卖出价格
     */
    private Double sellPrice;
    /**
     * 卖出时间
     */
    private Long createDate;
    /**
     * 状态:0未卖出 1已撤销 2已卖出
     */
    private Integer issell;
    /**
     * 委托人id
     */
    private Integer userId;
    /**
     * 股票数量
     */
    private Integer num;
    private Integer stockId;
    private BigDecimal averagePrice;
    private String stockCode;

    private String stockName;

    private String volumeCode;

    private BigDecimal volumePrice;

    private String nickName;


    private Integer buyNum;

    private Integer newDate;
}